package com.example.travelservlet.city.repository;

import com.example.travelservlet.entity.City;
import com.example.travelservlet.entity.Scenery;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author 30697
 */
public interface CityRepository extends JpaRepository<City,String>, JpaSpecificationExecutor {
    List<City> findAllByProId(String proId);

    City findCityByCityName(String cityName);
}
